package as.service.impl;

import java.util.List;

import as.dao.RegisterDAO;
import as.entity.Register;
import as.service.ClassHoursService;

public class ClassHoursServiceImpl implements ClassHoursService {
private RegisterDAO registerDAO;
	public RegisterDAO getRegisterDAO() {
	return registerDAO;
}
public void setRegisterDAO(RegisterDAO registerDAO) {
	this.registerDAO = registerDAO;
}
	public List<Register> statistic (long courseId) {
		List<Register> list=registerDAO.listForClassHours(courseId);
		
		return list;
	}

}
